package com.nstar.sinaweibo.model
{
	/**
	 * 分页对象
	 * 
	 * 
	 */ 
	public class PageVO
	{
		public var page:uint = 1;
		public var step:int = 1;
		
		public function PageVO()
		{
		}
		
		//下一页
		public function next():uint{
			return page += step;
		}
		//上一页
		public function prior():uint{
			page -= step;
			if(page<1){
				page = step;
			}
			return page;
		}
		//恢复分页为第一页
		public function reset():void{
			page = 1;
		}

	}
}